package com.funever.fragment;

import com.funever.adapter.MenuListAdapter;
import com.funever.myyouku.R;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ListView;

public class MenuFragment extends BaseFragment{
	
	ListView menuList;
	
	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		contentView = inflater.inflate(R.layout.menu, null);
		return contentView;
	}
	
	@Override
	public void onViewCreated(View view, Bundle savedInstanceState) {
		super.onViewCreated(view, savedInstanceState);
		menuList = (ListView) contentView.findViewById(R.id.menu_item);
		MenuListAdapter mla = new MenuListAdapter(getActivity());
		menuList.setAdapter(mla);
	}
	
}
